<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * Class that generates menus
 * @author JAdriano.Teixeira
 *
 */
class MyMenu_old{
	
	
	/**
	 * Create and return the main menu
	 * 
	 * @return string - with links pointing to the menus
	 */
 	function show_menu(){
  		$obj =& get_instance();
  		$obj->load->helper('url');
  		//$menu  = "<ul>";
  		//$menu .= "<li>";
  		//$tmp = "test";
  		
  		// http://http://localhost/eclipsewp/RadicalBooking/index.php/Radical/main
  		$menu = anchor("Radical/main","List");
  		//$menu .= "</li>";
  		//$menu .= "<li>";		
  		
  		// http://http://localhost/eclipsewp/RadicalBooking/index.php/Radical/input
  		$menu .= anchor("Radical/input","Input");		
  		//$menu .= "</li>";		
  		//$menu .= "</ul>";
  		$menu .= anchor("Radical/input","link4");
  		$menu .= anchor("Radical/input","link5");
  		
		
  		return $menu;
 	}
 	
 	function login_link() {
 		$obj =& get_instance();
 		$obj->load->helper('url');
 		$link = anchor("Radical/login","login");
 		return $link;
 	}
}
